package cn.cmcc.s2a.action;

import cn.cmcc.s2a.data.Message;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.util.logging.Logger;
import com.opensymphony.xwork2.util.logging.LoggerFactory;

/**
 * @author cj772929989@gmail.com
 * 
 */
public class LoginAction extends ActionSupport {
	private Logger LOG = LoggerFactory.getLogger(LoginAction.class);
	private static final long serialVersionUID = -3702537998326531404L;
	private Message message = new Message();

	public String execute() {
		LOG.info("message content:" + message.getContent());
		return SUCCESS;
	}

	public Message getMessage() {
		return message;
	}

	public void setMessage(Message message) {
		this.message = message;
	}
}
